//
//  NSString+Extension.h
//  togetherLBS
//
//  Created by Phyllis Hu on 15/7/17.
//  Copyright (c) 2015年 celi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Extension)

/*
 * 判断字符串中是否有特殊字符
 */
+(BOOL)isIncludeSpecialCharact: (NSString *)str ;

/*
 * 屏蔽字符串的表情符号
 */
+(NSString *)disable_emoji:(NSString *)text;


/*
 * 判断字符串中是否有表情
 */
+ (BOOL)isExpression:(NSString *)text;

/*
 * 兼容优家校和TORO
 */
+ (NSString*)CLNSLocalizedString:(NSString*) str;


/**
 *  判断是否有特殊字符或字符为空
 */
+ (BOOL)isSpecialStringOrNoString:(NSString *)contentStr;

/**
 *  字符串转Byte
 */
+ (void)stringToHex:(NSString *)str hexData:(Byte*)hexData writeLenght:(unsigned int *)lenght;

/**
 * byte数组转换成字符串
 */
+ (NSString*)byteArrayToString:(Byte *)dataStr length:(NSInteger)length;

@end
